package com.asset.pojo;

import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 品牌信息
 * @author 11725
 */
@Data
@Table(name = "tab_brand")
public class Brand {
    /** 品牌编号 */
    @Id
    @KeySql(useGeneratedKeys = true)
    @Column(name = "brand_id")
    private Long id;

    /** 品牌名称 */
    @Column(name = "brand_name")
    private String name;

    /** 供应商名称 */
    private String producer;
}
